std::basic_fstream::operator=
From Cppreference
< cpp | io | basic fstream
| C++ Standard Library | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
| Input/output library | ||||||||||||||||||||||||
| std::basic_fstream | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| basic_ifstream& operator=( basic_fstream&& other );
| (C++0x) | |
Moves the file stream. The source stream becomes of invalid state after the operation.
Contents |
Parameters
| other | - | file stream to move. other becomes of invalid state after the operation. |
Return value
*this
Example
| This section is incomplete |
See also
| swaps two file streams (public member function) | ||